<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>zxxhouse: com.zxx.PullRefresh.PullToRefreshLayout类参考</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />



</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">zxxhouse
   &#160;<span id="projectnumber">1.0</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- 制作者 Doxygen 1.7.6.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li class="current"><a href="annotated.html"><span>类</span></a></li>
      <li><a href="files.html"><span>文件</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>组合类型列表</span></a></li>
      <li><a href="classes.html"><span>组合类型索引</span></a></li>
      <li><a href="inherits.html"><span>类继承关系</span></a></li>
      <li><a href="functions.html"><span>组合类型成员</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><b>com</b>      </li>
      <li class="navelem"><b>zxx</b>      </li>
      <li class="navelem"><b>PullRefresh</b>      </li>
      <li class="navelem"><a class="el" href="classcom_1_1zxx_1_1_pull_refresh_1_1_pull_to_refresh_layout.html">PullToRefreshLayout</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#nested-classes">组合类型</a> &#124;
<a href="#pub-methods">公有成员</a> &#124;
<a href="#pac-attribs">模块属性</a> &#124;
<a href="#pri-methods">私有成员</a>  </div>
  <div class="headertitle">
<div class="title">com.zxx.PullRefresh.PullToRefreshLayout类参考</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="com::zxx::PullRefresh::PullToRefreshLayout" --><!-- doxytag: inherits="android::widget::RelativeLayout" -->
<p>自定义的布局，用来管理三个子控件，其中一个是下拉头，一个是包含内容的pullableView（可以是实现Pullable接口的的任何View）， 还有一个上拉头，更多详解见博客http://blog.csdn.net/zhongkejingwang/article/details/38868463  
 <a href="classcom_1_1zxx_1_1_pull_refresh_1_1_pull_to_refresh_layout.html#details">更多...</a></p>

<p>继承自RelativeLayout。</p>
<div class="dynheader">
com.zxx.PullRefresh.PullToRefreshLayout合作图：</div>
<div class="dyncontent">
<div class="center"><img src="classcom_1_1zxx_1_1_pull_refresh_1_1_pull_to_refresh_layout__coll__graph.png" border="0" usemap="#com_8zxx_8_pull_refresh_8_pull_to_refresh_layout_coll__map" alt="Collaboration graph"/></div>
<map name="com_8zxx_8_pull_refresh_8_pull_to_refresh_layout_coll__map" id="com_8zxx_8_pull_refresh_8_pull_to_refresh_layout_coll__map">
<area shape="rect" href="interfacecom_1_1zxx_1_1_pull_refresh_1_1_pull_to_refresh_layout_1_1_on_refresh_listener.html" title="刷新加载回调接口" alt="" coords="5,5,501,37"/><area shape="rect" title=" mListener" alt="" coords="249,33,257,41"/><area shape="rect" title=" mListener" alt="" coords="249,103,257,111"/></map>
<center><span class="legend">[<a href="graph_legend.html">图例</a>]</span></center></div>

<p><a href="classcom_1_1zxx_1_1_pull_refresh_1_1_pull_to_refresh_layout-members.html">所有成员的列表。</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
组合类型</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">interface &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1zxx_1_1_pull_refresh_1_1_pull_to_refresh_layout_1_1_on_refresh_listener.html">OnRefreshListener</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">刷新加载回调接口  <a href="interfacecom_1_1zxx_1_1_pull_refresh_1_1_pull_to_refresh_layout_1_1_on_refresh_listener.html#details">更多...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
公有成员</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1zxx_1_1_pull_refresh_1_1_pull_to_refresh_layout.html#a2237f88388138031e14df06d258db3ef">refreshFinish</a> (int refreshResult)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">完成刷新操作，显示刷新结果。注意：刷新完成后一定要调用这个方法  <a href="#a2237f88388138031e14df06d258db3ef"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1zxx_1_1_pull_refresh_1_1_pull_to_refresh_layout.html#a33f0f53e48b89416f901283fcb2ba1be">loadmoreFinish</a> (int refreshResult)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">加载完毕，显示加载结果。注意：加载完成后一定要调用这个方法  <a href="#a33f0f53e48b89416f901283fcb2ba1be"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1zxx_1_1_pull_refresh_1_1_pull_to_refresh_layout.html#af69e026bc4f7ce8e4ed50bee5eed24fa">dispatchTouchEvent</a> (MotionEvent ev)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">（非 Javadoc）由父控件决定是否分发事件，防止事件冲突  <a href="#af69e026bc4f7ce8e4ed50bee5eed24fa"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pac-attribs"></a>
模块属性</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab4df3a5e9f047c654c30fbb6fcc3d8f8"></a><!-- doxytag: member="com::zxx::PullRefresh::PullToRefreshLayout::updateHandler" ref="ab4df3a5e9f047c654c30fbb6fcc3d8f8" args="" -->
Handler&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1zxx_1_1_pull_refresh_1_1_pull_to_refresh_layout.html#ab4df3a5e9f047c654c30fbb6fcc3d8f8">updateHandler</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">执行自动回滚的handler <br/></td></tr>
<tr><td colspan="2"><h2><a name="pri-methods"></a>
私有成员</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac4068626101cb1f37d14e81e645bd468"></a><!-- doxytag: member="com::zxx::PullRefresh::PullToRefreshLayout::releasePull" ref="ac4068626101cb1f37d14e81e645bd468" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1zxx_1_1_pull_refresh_1_1_pull_to_refresh_layout.html#ac4068626101cb1f37d14e81e645bd468">releasePull</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">不限制上拉或下拉 <br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>详细描述</h2>
<div class="textblock"><p>自定义的布局，用来管理三个子控件，其中一个是下拉头，一个是包含内容的pullableView（可以是实现Pullable接口的的任何View）， 还有一个上拉头，更多详解见博客http://blog.csdn.net/zhongkejingwang/article/details/38868463 </p>
<dl class="author"><dt><b>作者:</b></dt><dd>陈靖 </dd></dl>

<p>在文件<a class="el" href="_pull_to_refresh_layout_8java_source.html">PullToRefreshLayout.java</a>第<a class="el" href="_pull_to_refresh_layout_8java_source.html#l00038">38</a>行定义。</p>
</div><hr/><h2>成员函数文档</h2>
<a class="anchor" id="af69e026bc4f7ce8e4ed50bee5eed24fa"></a><!-- doxytag: member="com::zxx::PullRefresh::PullToRefreshLayout::dispatchTouchEvent" ref="af69e026bc4f7ce8e4ed50bee5eed24fa" args="(MotionEvent ev)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boolean <a class="el" href="classcom_1_1zxx_1_1_pull_refresh_1_1_pull_to_refresh_layout.html#af69e026bc4f7ce8e4ed50bee5eed24fa">com.zxx.PullRefresh.PullToRefreshLayout.dispatchTouchEvent</a> </td>
          <td>(</td>
          <td class="paramtype">MotionEvent&#160;</td>
          <td class="paramname"><em>ev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>（非 Javadoc）由父控件决定是否分发事件，防止事件冲突 </p>
<dl class="see"><dt><b>参见:</b></dt><dd>android.view.ViewGroup::dispatchTouchEvent(android.view.MotionEvent) </dd></dl>

<p>在文件<a class="el" href="_pull_to_refresh_layout_8java_source.html">PullToRefreshLayout.java</a>第<a class="el" href="_pull_to_refresh_layout_8java_source.html#l00359">359</a>行定义。</p>

<p>参考 <a class="el" href="interfacecom_1_1zxx_1_1_pull_refresh_1_1_pull_to_refresh_layout_1_1_on_refresh_listener.html#aec3a5a5dc7b68d7838a447199534ebf2">com.zxx.PullRefresh.PullToRefreshLayout.OnRefreshListener.onLoadMore()</a>、<a class="el" href="interfacecom_1_1zxx_1_1_pull_refresh_1_1_pull_to_refresh_layout_1_1_on_refresh_listener.html#a54dbbaff3fae4c145e5a3efb3bc0b173">com.zxx.PullRefresh.PullToRefreshLayout.OnRefreshListener.onRefresh()</a>及<a class="el" href="_pull_to_refresh_layout_8java_source.html#l00347">com.zxx.PullRefresh.PullToRefreshLayout.releasePull()</a>.</p>

<p><div class="dynheader">
函数调用图:</div>
<div class="dyncontent">
<div class="center"><img src="classcom_1_1zxx_1_1_pull_refresh_1_1_pull_to_refresh_layout_af69e026bc4f7ce8e4ed50bee5eed24fa_cgraph.png" border="0" usemap="#classcom_1_1zxx_1_1_pull_refresh_1_1_pull_to_refresh_layout_af69e026bc4f7ce8e4ed50bee5eed24fa_cgraph" alt=""/></div>
<map name="classcom_1_1zxx_1_1_pull_refresh_1_1_pull_to_refresh_layout_af69e026bc4f7ce8e4ed50bee5eed24fa_cgraph" id="classcom_1_1zxx_1_1_pull_refresh_1_1_pull_to_refresh_layout_af69e026bc4f7ce8e4ed50bee5eed24fa_cgraph">
<area shape="rect" href="interfacecom_1_1zxx_1_1_pull_refresh_1_1_pull_to_refresh_layout_1_1_on_refresh_listener.html#aec3a5a5dc7b68d7838a447199534ebf2" title="加载操作" alt="" coords="564,5,1161,37"/><area shape="rect" href="interfacecom_1_1zxx_1_1_pull_refresh_1_1_pull_to_refresh_layout_1_1_on_refresh_listener.html#a54dbbaff3fae4c145e5a3efb3bc0b173" title="刷新操作" alt="" coords="572,61,1153,93"/><area shape="rect" href="classcom_1_1zxx_1_1_pull_refresh_1_1_pull_to_refresh_layout.html#ac4068626101cb1f37d14e81e645bd468" title="不限制上拉或下拉" alt="" coords="645,117,1080,149"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a33f0f53e48b89416f901283fcb2ba1be"></a><!-- doxytag: member="com::zxx::PullRefresh::PullToRefreshLayout::loadmoreFinish" ref="a33f0f53e48b89416f901283fcb2ba1be" args="(int refreshResult)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classcom_1_1zxx_1_1_pull_refresh_1_1_pull_to_refresh_layout.html#a33f0f53e48b89416f901283fcb2ba1be">com.zxx.PullRefresh.PullToRefreshLayout.loadmoreFinish</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>refreshResult</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>加载完毕，显示加载结果。注意：加载完成后一定要调用这个方法 </p>
<dl class="params"><dt><b>参数:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">refreshResult</td><td>PullToRefreshLayout.SUCCEED代表成功，PullToRefreshLayout.FAIL代表失败 </td></tr>
  </table>
  </dd>
</dl>

<p>在文件<a class="el" href="_pull_to_refresh_layout_8java_source.html">PullToRefreshLayout.java</a>第<a class="el" href="_pull_to_refresh_layout_8java_source.html#l00263">263</a>行定义。</p>

</div>
</div>
<a class="anchor" id="a2237f88388138031e14df06d258db3ef"></a><!-- doxytag: member="com::zxx::PullRefresh::PullToRefreshLayout::refreshFinish" ref="a2237f88388138031e14df06d258db3ef" args="(int refreshResult)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classcom_1_1zxx_1_1_pull_refresh_1_1_pull_to_refresh_layout.html#a2237f88388138031e14df06d258db3ef">com.zxx.PullRefresh.PullToRefreshLayout.refreshFinish</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>refreshResult</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>完成刷新操作，显示刷新结果。注意：刷新完成后一定要调用这个方法 </p>
<dl class="params"><dt><b>参数:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">refreshResult</td><td>PullToRefreshLayout.SUCCEED代表成功，PullToRefreshLayout.FAIL代表失败 </td></tr>
  </table>
  </dd>
</dl>

<p>在文件<a class="el" href="_pull_to_refresh_layout_8java_source.html">PullToRefreshLayout.java</a>第<a class="el" href="_pull_to_refresh_layout_8java_source.html#l00223">223</a>行定义。</p>

</div>
</div>
<hr/>该类的文档由以下文件生成：<ul>
<li>src/com/zxx/PullRefresh/<a class="el" href="_pull_to_refresh_layout_8java_source.html">PullToRefreshLayout.java</a></li>
</ul>
</div><!-- contents -->


<hr class="footer"/><address class="footer"><small>
Generated at 2015年二月4日 星期三 18:11:09 for zxxhouse by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
